package com.chalk.dao;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.chalk.model.Coach;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author glq
 * @since 2020-12-21
 */

public interface CoachDao extends BaseMapper<Coach> {

    /**
     * 小程序-教练分页搜索
     * @param page
     * @param map
     * @return
     */
    public List<Coach> getCoachForPage(Page<Coach> page, @Param("param") Map<String, Object> map);

}
